package com.myBatis.JDBC.mapper;

import java.util.List;

import com.myBatis.JDBC.entity.RuleEntity;

public interface RuleMapper {
	public List<RuleEntity> getRuleById(List<String> list);

	public List<RuleEntity> getRuleList(RuleEntity ruleEntity);

	public void addRule(List<RuleEntity> list);

	public int updateRule(RuleEntity ruleEntity);

	public int deleteRule(List<Long> list);
	
	List<RuleEntity> listAllByTree();
}
